class Lady9 {
  content = "Hi,帅哥";
  sayHello() {
    return this.content;
  }
}
//继承
class xiaoJieJie9 extends Lady9 {
  //   sayHello() {
  //     return "Hi Honey";
  //   }
  //使用super关键字调用父类中的方法
  sayHello() {
    return super.sayHello() + "Hi Honey";
  }
  sayLove() {
    return "I Love You";
  }
}

const goddes = new xiaoJieJie9();
console.log(goddes.sayHello());
console.log(goddes.sayLove());
